package com.hebeu.xwl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.jdo.annotations.Column;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Batch {
//    batchId	int
//    index	varchar
//    userId	int
//    description	varchar
//    name	varchar
//    articlenum	varchar
    @TableId(type = IdType.AUTO)
    private int batchId;
    //处理关键字问题
    @TableField(value = "`index`")
    private String index;
    private int userId;
    private String description;
    @TableField(value = "`name`")
    private String name;
    private int articlenum;

}
